package org.mybatis.generator.codegen.mybatis3.typeresolver;

import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;
import org.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl;

import java.sql.Types;

public class JavaTypeResolverCustomImpl extends JavaTypeResolverDefaultImpl {
    public JavaTypeResolverCustomImpl() {
        super();
        super.typeMap.put(Types.TINYINT, new JavaTypeResolverDefaultImpl.JdbcTypeInformation("TINYINT", new FullyQualifiedJavaType("int")));
    }
}
